INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})

SET(transformation_SOURCES movegizmo.cpp rotategizmo.cpp scalegizmo.cpp selectiontool.cpp movetool.cpp rotatetool.cpp scaletool.cpp editorgridtool.cpp transformationplugin.cpp)
SET(transformation_HEADERS movegizmo.h rotategizmo.h scalegizmo.h selectiontool.h movetool.h rotatetool.h scaletool.h editorgridtool.h transformationplugin.h)

QT4_WRAP_CPP(transformation_HEADERS_MOC ${transformation_HEADERS})

ADD_LIBRARY(TryTransformation SHARED ${transformation_SOURCES} ${transformation_HEADERS_MOC} ${transformation_FORMS_H})

TARGET_LINK_LIBRARIES(TryTransformation ${QT_LIBRARIES})
TARGET_LINK_LIBRARIES(TryTransformation TrySandboxCore)
